package com.zjr.domain;
/*
 * 用户实体类
 * */
public class User {
	private int uid; 			//用户id
	private String username;	//用户账号
	private String password;	//用户密码
	private int did;			//所属部门的id号
	private String phone;		//手机号码
	private String address;		//地址
	private int position;		//用户职位:0-普通员工 1-部长 2-总经理 3-admin
	public int getUid() {
		return uid;
	}
	public void setUid(int uid) {
		this.uid = uid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getDid() {
		return did;
	}
	public void setDid(int did) {
		this.did = did;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public int getPosition() {
		return position;
	}
	public void setPosition(int position) {
		this.position = position;
	}
	@Override
	public String toString() {
		return "User [uid=" + uid + ", username=" + username + ", password=" + password + ", did=" + did + ", phone="
				+ phone + ", address=" + address + ", position=" + position + "]";
	}
	
	
}
